import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SFootballGameInfo
    
    export  class SFootballGameInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeShort(this.type);
            arg1.writeShort(this.group);
            arg1.writeShort(this.teamA);
            arg1.writeString(this.teamAName);
            arg1.writeShort(this.teamB);
            arg1.writeString(this.teamBName);
            arg1.writeDate(this.gameDt);
            arg1.writeDate(this.guessStartDt);
            arg1.writeDate(this.guessEndDt);
            arg1.writeShort(this.result);
            arg1.writeShort(this.guess);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.type = arg1.readShort();
            this.group = arg1.readShort();
            this.teamA = arg1.readShort();
            this.teamAName = arg1.readString();
            this.teamB = arg1.readShort();
            this.teamBName = arg1.readString();
            this.gameDt = arg1.readDate();
            this.guessStartDt = arg1.readDate();
            this.guessEndDt = arg1.readDate();
            this.result = arg1.readShort();
            this.guess = arg1.readShort();
            return;
        }

        public /* var */type: int;

        public /* var */group: int;

        public /* var */teamA: int;

        public /* var */teamAName: string;

        public /* var */teamB: int;

        public /* var */teamBName: string;

        public /* var */gameDt: Date;

        public /* var */guessStartDt: Date;

        public /* var */guessEndDt: Date;

        public /* var */result: int;

        public /* var */guess: int;
    }
